package com.umeng.soexample.mvp.contract;

import com.umeng.lib_core.mvp.model.IModel;
import com.umeng.lib_core.mvp.view.IView;
import com.umeng.soexample.bean.ShowEntity;

import io.reactivex.Observable;

public interface ShowFragmentContract {

    interface ShowFragmentIView extends IView{
        void success(ShowEntity entity);
    }

    interface ShowFragmentIModel extends IModel{
        Observable<ShowEntity> show(String request);
    }

}
